import request from '@/utils/request'

// 查询解决方案详情列表
export function listMenSolution(query) {
  return request({
    url: '/men/menSolution/list',
    method: 'get',
    params: query
  })
}

// 查询解决方案详情详细
export function getMenSolution(id) {
  return request({
    url: '/men/menSolution/' + id,
    method: 'get'
  })
}

// 新增解决方案详情
export function addMenSolution(data) {
  return request({
    url: '/men/menSolution',
    method: 'post',
    data: data
  })
}

// 修改解决方案详情
export function updateMenSolution(data) {
  return request({
    url: '/men/menSolution',
    method: 'put',
    data: data
  })
}

// 删除解决方案详情
export function delMenSolution(id) {
  return request({
    url: '/men/menSolution/' + id,
    method: 'delete'
  })
}

// 导出解决方案详情
export function exportMenSolution(query) {
  return request({
    url: '/men/menSolution/export',
    method: 'get',
    params: query
  })
}